package com.serookie.service;

import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.serookie.entity.Goods;
import com.serookie.entity.GoodsDetails;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @author kevintam
 * @version 1.0
 * @date 2021/5/24 19:50
 */
public interface GoodsDetailsService{
//    查询所有
    public List<GoodsDetails> all();
//    根据goodsId查询图片集
    public List<GoodsDetails> getByGoodsId(Integer goodsId);
//    添加商品详情
    public Boolean save(GoodsDetails goodsDetails);
//    修改商品详情
    public Boolean updateDetails(GoodsDetails goodsDetails);
    public Boolean delDetails(Integer goodsId);
}
